1. (A): The container feature needs to be enabled before working with Windows containers. To do so run the following command in an elevated PowerShell session.Enable-WindowsOptionalFeature -Online -FeatureName containers –All 2. (B): Docker is required in order to work with Windows containers.Note: First install the OneGet PowerShell module.Install-Module -Name DockerMsftProvider -Repository PSGallery –Force Next you use OneGet to install the latest version of Docker. Install-Package -Name docker -ProviderName DockerMsftProvider 3. (C): Install Base Container ImagesWindows containers are deployed from templates or images. Before a container can be deployed, a container base OS image needs to be downloaded. The following commands will download the Nano Server base image. Pull the Nano Server base image. docker pull microsoft/nanoserver
1. (A): The container feature needs to be enabled before working with Windows containers. To do so run the following command in an elevated PowerShell session.
Enable-WindowsOptionalFeature -Online -FeatureName containers –All
2. (B): Docker is required in order to work with Windows containers.
Note: First install the OneGet PowerShell module.
Install-Module -Name DockerMsftProvider -Repository PSGallery –Force
Next you use OneGet to install the latest version of Docker.
Install-Package -Name docker -ProviderName DockerMsftProvider
3. (C): Install Base Container Images
Windows containers are deployed from templates or images. Before a container can be deployed, a container base OS image needs to be downloaded. The following commands will download the Nano Server base image.
Pull the Nano Server base image.
docker pull microsoft/nanoserver